package com.nzy.dao.mapper;

import com.nzy.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    Goods selectBySkuId(String skuId);

    List<Goods> selectBySelect(Goods goods);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
}